<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>壁纸设置</title>
#include("/sysapp/global_css.html")
<link rel="stylesheet" href="/static/img/ui/sys.css">
</head>

<body>
<div class="title">
	<ul>
		<li class="focus">壁纸设置</li>
		<li><a href="/sysapp/skin/index.html">皮肤设置</a></li>
	</ul>
</div>
<div class="wallpapertype form-inline">
	<div class="btn-group fl">
		<a class="btn disabled">系统壁纸</a><a class="btn" href="custom.php">自定义</a>
	</div>
	<div class="fr">
		<label>显示方式：</label>
		<select name="wallpapertype" id="wallpapertype" style="width:100px">
			<option value="tianchong" #if($wallpapertype.equals("tianchong")) selected #end>填充</option>
			<option value="shiying" #if($wallpapertype.equals("shiying")) selected #end>适应</option>
			<option value="pingpu" #if($wallpapertype.equals("pingpu")) selected #end>平铺</option>
			<option value="lashen" #if($wallpapertype.equals("lashen")) selected #end>拉伸</option>
			<option value="juzhong" #if($wallpapertype.equals("juzhong")) selected #end>居中</option>
		</select>
	</div>
</div>
<ul class="wallpaper">
	$!display
</ul>
#include("/sysapp/global_js.html")
<script>
$(function(){
	$("#wallpapertype").on('change',function(){
		window.parent.HROS.wallpaper.update(0, $('#wallpapertype').val(), '');
	});
	$('.wallpaper li').on('click',function(){
		window.parent.HROS.wallpaper.update(1, $('#wallpapertype').val(), $(this).attr('wpid'));
	});
});
</script>
</body>
</html>